Definition:
- Conditional logic within the SUT determines whether the "real" code or test-specific logic is run.
Code Example:
class ApplicationController < ActionController::Base
unless Rails.env.test?
before_filter :require_login
end
end
References:
Quality attributes
- :octicon:`file-code;1em` - Code Example
- :octicon:`comment-discussion;1em` - Cause and Effect
- :octicon:`graph;1em` - Frequency
- :octicon:`sync;1em` - Refactoring